package com.spzx.product.api.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Schema(description = "购物项数据模型")
public class CartItem {
    private Long skuId;
    private Integer skuNum ;
    @Schema(description = "加购时的商品名称")
    private String skuName;
    private String thumbImg;
    @Schema(description = "购物项选中状态：1默认选中")
    private Integer isChecked = 1;
    @Schema(description = "加购价格")
    private BigDecimal cartPrice;
    @Schema(description = "实时价格")
    private BigDecimal skuPrice;
    private Date createTime;
    private Date updateTime;
    private Long userId;
}
